package club.sanmubird.travel_culture_wx_demo.demo.mysql.dao;

import club.sanmubird.travel_culture_wx_demo.demo.mysql.entity.User;
import io.github.biezhi.anima.Anima;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @program: travel_culture_wx_demo
 * @description: userDao
 * @author: sam
 * @create: 2018-08-05 11:52
 * @update: 2018-08-05 11:52
 * @update: Sam
 **/

@Repository
public class UserDao {

	public List<User> getAllUsers(){
		return Anima.select().from(User.class).all();
	}
}
